package com.zoe.app.service1;

import com.zoe.app.service.BaseUser;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author zbg
 * @date 2023/05/08
 * @description
 */
@Service
@RequiredArgsConstructor
public class BodyServiceImpl {
    private final BaseUser userOne;
    @Resource
    private GirlServiceImpl girlService;

    public void boySay() {
        girlService.say();
    }

    public void say() {
        System.out.println("girl");
    }
}
